<LINK REL="stylesheet" HREF="../../templates/css/style.css" TYPE="text/css">
<script language="javascript" type="text/javascript">
<!--
   function check_all()
   {
      obj = document.getElementsByName("del_id[]");
	  for( i=0; i<obj.length; i++)
	  {
	  	obj[i].checked = obj[i].checked ? false : true;
	  }     
   }
   function delete_all()
   {
   	  obj = document.getElementsByName("del_id[]");
	  var flag = false;
	  for( i=0; i<obj.length; i++)
	  {
	  	if( obj[i].checked )
		{
		   flag = true;
		   break;
		}
	  }  
	  if( ! flag)
	  {
	    alert("請選擇你要删除的信息!");
		return false;
	  }
	  if( window.confirm("此操作将不可恢复"))
	  {
	    return true;
	  }
   }
   -->
</script><table width="98%" border="0" class="table2">
  <tr>
    <td>管理中心 - 系统設置 -主营产品</td>
  </tr>
</table>
<table width="98%" border="0">
  <tr>
    <td><button class="add" onclick="location.href='?mode=add_bussprd'">添加主营产品</button></td>
  </tr>
</table>
<form name="frm_del"  method="post" action="?mode=del_bussprd" id="frm_del" onsubmit="return delete_all()">
<div id="listDiv">
<table class="table1" border="0" cellpadding="0" cellspacing="0" width="98%">
  <tr >
    <th width="30"><input type="checkbox" onClick="check_all()" name="checkall" /></th>
    <th width="60">操作</th>
    <th width="231">主营产品中文名称</th>
    <th width="234">主营产品英文名称</th>
    <th width="226">主营产品其他语言名称</th>
    <th width="175">主营产品排列顺序</th>
  </tr>
  <!-- BEGIN UNT_LIST -->
  <tr>
    <td class="alt"><input type="checkbox" name="del_id[]" value="{bus_id}"/></td>
    <td width="60" height="20"><a href="{EDIT_URL}"><img height="16" alt="编辑" src="../../templates/images/editapproveicon.gif" width="16" border="0" /></a></td>
    <td width="231" align="center">{bus_zh_name}</td>
    <td width="234" align="center">{bus_en_name}</td>
    <td width="226" align="center">{bus_other_name}</td>
    <td width="175" align="center">{bus_order}</td>
  </tr> 
  <!-- END UNT_LIST -->  
    <tr class="odd">
      <td colspan="6" align="center">{PAGE_STRING}</td>
    </tr>
	    <tr>
      <td colspan="6"> 
	  <input name="btn_all2" type="button" id="btn_all2" value="全 选" 
	  onClick="javascript:check_all(document.frm_del,true);" class="bot"/>　
      <input name="btn_cancel" type="button" id="btn_cancel" value="取 消" 
	  onClick="javascript:check_all(document.frm_del,false);" class="bot" />
	  <input class="bot" type="submit" name="delete_all()" value="批量删除" /></td>
    </tr>
</table>
</div>
